package com.ruoyi.multab.utils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public class MulExcelObj implements Serializable{
	
	private static final long serialVersionUID = -1747421833083508791L;
	/**每列标题*/
	private List<JSONObject> titleArray = new ArrayList<JSONObject>();
	/**数据区域*/
	private List<JSONObject> dataArray = new ArrayList<JSONObject>();
	/**总列数*/
	private int totalCellNum;
	/**总行数含标题行*/
	private int totalRowNum;
	
	public void addTitle(JSONObject obj) {
		this.getTitleArray().add(obj);
	}
	public void addData(JSONObject obj) {
		this.getDataArray().add(obj);
	}
	
	public List<JSONObject> getTitleArray() {
		return titleArray;
	}
	public void setTitleArray(List<JSONObject> titleArray) {
		this.titleArray = titleArray;
	}
	public List<JSONObject> getDataArray() {
		return dataArray;
	}
	public void setDataArray(List<JSONObject> dataArray) {
		this.dataArray = dataArray;
	}
	public int getTotalCellNum() {
		return totalCellNum;
	}
	public void setTotalCellNum(int totalCellNum) {
		this.totalCellNum = totalCellNum;
	}
	public int getTotalRowNum() {
		return totalRowNum;
	}
	public void setTotalRowNum(int totalRowNum) {
		this.totalRowNum = totalRowNum;
	}

}
